package com.example.fireassistant_server.repository.spec;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class PointSearchCriteria {

    private String key;

    private BigDecimal minValue;

    private SearchOperation operation;
    private BigDecimal maxValue;

    public PointSearchCriteria(String key, BigDecimal minValue, BigDecimal maxValue, SearchOperation operation) {
        this.key = key;
        this.minValue = minValue;
        this.operation = operation;
        this.maxValue = maxValue;
    }
}
